//
//  EnumMacros.h
//  GLGW_Shoping
//
//  Created by yang on 2018/11/14.
//  Copyright © 2018年 yang. All rights reserved.
//

#ifndef EnumMacros_h
#define EnumMacros_h

typedef NS_ENUM(NSInteger, WithDrawRecordType){
    WithDrawRecordType_ToAudit            = 0,  // 待审核
    WithDrawRecordType_HaveWithdrawal     = 1,  // 已提现
    WithDrawRecordType_ForWithdrawal      = 2,  // 待提现
    WithDrawRecordType_AuditFailure       = 3,  // 审核失败
    WithDrawRecordType_All                = 4,  // 全部
};

typedef NS_ENUM(NSInteger, MyInvoiceType){
    MyInvoiceType_WaitingFor     = 0,  // 待开票
    MyInvoiceType_Haved          = 1,  // 已开票
    MyInvoiceType_All            = 2,  // 全部
};

typedef NS_ENUM(NSInteger,PurchaseType){
    PurchaseType_Ordinary  = 1,//普通求购
    PurchaseType_Deposit   = 2,//定金求购
    PurchaseType_Long      = 3,//长期求购
    PurchaseType_Picture   = 4,//图片求购
    PurchaseType_Entrust   = 5,//委托求购
};
// 我的求购列表
typedef NS_ENUM(NSInteger,MyPurchaseType){
    MyPurchaseType_All          = 0, // 全部
    MyPurchaseType_HaveOffer    = 1, // 接受报价中
    MyPurchaseTyp_HaveDone      = 2, // 已完成
    MyPurchaseType_HaveFailue   = 3, // 已失效
};

//消息
typedef NS_ENUM(NSInteger,SystemMessagePType){
    SystemMessagePType_MyOrder   =1,//我的订单
    SystemMessagePType_Goods     =3,//商品
    SystemMessagePType_Nitf,//通知
};
//用户类型
typedef NS_ENUM(NSInteger,AccountType){
    AccountType_Ordinary     = 0,//买家
    AccountType_FreeManagers = 1,//自由经理人
};
//计算类型
typedef NS_ENUM(NSInteger,CaiculatorType){
    CaiculatorType_Weight,
    CaiculatorType_Length,
};
//订单类型
typedef NS_ENUM(NSInteger,OrderType){
    OrderType_Confirm = 0,
    OrderType_Pay     = 1,
    OrderType_PaySure = 2,
    OrderType_Delivery= 3,
    OrderType_InGoods = 4,
    OrderType_InDefault = 5
};
//认证状态
typedef NS_ENUM(NSInteger,CertificationType){
    CertificationType_IntheRever    = 0,
    CertificationType_Success       = 1,
    CertificationType_Failure       = 2,
};
//订单物流方式
typedef NS_ENUM(NSInteger,OrderExpressType){
    OrderExpressType_SelfExpress   =0,//自提
    OrderExpressType_OtherExpress  =1,//买家承运
};
//邀请搜索类型
typedef NS_ENUM(NSInteger,InvitationSearchType) {
    InvitationSearchType_Phone   =0,
    InvitationSearchType_Store   =1,
};
//
typedef NS_ENUM(NSInteger,RegisterePushType) {
    RegisterePushType_BindingPhone      =0,//绑定手机
    RegisterePushType_RetrievePassword  =1,//找回密码
    RegisterePushType_Registere         =2,//注册
};

// 我的回帖进入口
typedef NS_ENUM(NSInteger, CircleType){
    CircleType_MineLikeReplay    = 0,   // 我喜欢的-回复
    CircleType_ReturnCard        = 1,   // 我的回帖
    CircleType_Comments          = 2,   // 我的评论
};
//我服务的买家
typedef NS_ENUM(NSInteger,MyServiceType) {
    MyServiceType_All          =0,//全部
    MyServiceType_Cooperation  =1,//合作
    MyServiceType_cancel       =2,//取消合作
};

typedef NS_ENUM(NSInteger,AddOrEditType) {
    AddOrEditType_Add           =0,//新增
    AddOrEditType_Edit          =1,//编辑
    AddOrEditType_Defat         =3,//默认
};

typedef NS_ENUM(NSInteger,PublishSelectList) {
    PublishSelectList_GoodsName   =0,//品名
    PublishSelectList_Material    =1,//材质
    PublishSelectList_Spec        =2,//规格
    PublishSelectList_Stell       =3,//钢厂
};

#endif /* EnumMacros_h */
